package fr.inria.phoenix.scenario.bwsnfirefighting.impl.device;

import fr.inria.diagen.core.ServiceConfiguration;
import fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.DeviceStatus;
import fr.inria.phoenix.scenario.bwsnfirefighting.framework.datatype.Location;
import fr.inria.phoenix.scenario.bwsnfirefighting.framework.distributed.environmentsensordevice.EnvironmentSensorDevice;

public class EnvironmentSensorDeviceImpl extends EnvironmentSensorDevice {

	public EnvironmentSensorDeviceImpl(ServiceConfiguration serviceConfiguration,
			Location location, Boolean falsealarmsensitivity, Boolean dangerousmaterial, Integer id) {
		super(serviceConfiguration, location, dangerousmaterial, id);
	}
	
	@Override
	protected void postInitialize(){
		setTemperature(15);
		setSmoke(false);
		setStatus(DeviceStatus.WORKING);
	}

}
